<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="邵铭">
    <title></title>
    <style>
        * {
            box-sizing: border-box;
        }
        
        body {
            margin: 0;
            background-color: #C9CCC8;
        }
        
        .box {
            width: 350px;
            height: 700px;
            margin: 0 auto;
            position: relative;
        }
        
        .top {
            /*border: 1px solid #aaa;*/
            background-color: white;
            /*border: 1px solid #C9CCC8;*/
        }
        
        .border {
            width: 350px;
            border: 5px solid orange;
            height: 483px;
            position: absolute;
            display: none;
        }
        
        .first {
            width: 330px;
            height: 380px;
            margin: 10px;
        }
        
        .top>p {
            width: 300px;
            margin: 10px auto;
        }
        
        .bottom {
            width: 350px;
            background-color: white;
            margin-top: 10px;
            position: relative;
            height: 200px;
        }
        
        .b-l {
            width: 150px;
            height: 190px;
            position: absolute;
            top: 0px;
            left: 0px;
            overflow: hidden;
        }
        
        .b-r {
            width: 150px;
            height: 190px;
            position: absolute;
            top: 0;
            left: 180px;
            overflow: hidden;
        }
        
        .second {
            width: 150px;
            height: 180px;
            margin: 10px;
        }
        
        .third {
            width: 150px;
            height: 180px;
            margin: 10px;
        }
        
        .left {
            width: 150px;
            height: 180px;
            position: absolute;
            top: 10px;
            left: -150px;
            color: white;
            padding: 10px;
        }
        
        .right {
            width: 150px;
            height: 190px;
            position: absolute;
            top: 10px;
            left: -150px;
            color: white;
            padding: 10px;
        }
        
        .shadow {
            width: 150px;
            height: 180px;
            background-color: rgba(0, 0, 0, 0.5);
            position: absolute;
            top: 10px;
            left: 10px;
            display: none;
        }
        
        .shadow2 {
            width: 150px;
            height: 180px;
            background-color: rgba(0, 0, 0, 0.5);
            position: absolute;
            top: 10px;
            left: 10px;
            display: none;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="top">
            <div class="border"></div>
            <img src="./1.jpg" alt="" class="first">
            <p>
                韩孝周（Han HyoJoo），1987年2月22日出生于韩国忠清北道清州市。 韩国女演员，毕业于韩国东国大学演剧电影科。
            </p>
        </div>
        <div class="bottom">
            <div class="b-l">
                <div class="shadow"></div>
                <img src="./2.jpg" alt="" class="second">
                <div class="left">

                    <p>
                        1987年2月22日，韩孝周出生于韩国忠清北道清州市，家中有一位弟弟。
                    </p>
                </div>
            </div>

            <div class="b-r">
                <div class="shadow2"></div>
                <img src="./3.jpg" alt="" class="third">
                <div class="right">
                    <p>
                        2003年，获得MTM模特选拔大赛第二名以及第9届Binggrae小姐（微笑小姐）大赛第一名而出道。
                    </p>
                </div>
            </div>
        </div>

    </div>
    <script src="./jquery.js"></script>
</body>

</html>
<script>
    var isBegin = true;
    $('.top').hover(function (index) {
        $('.border').fadeTo(1000, 1);

    }, function () {
        $('.border').fadeTo(1000, 0);
    })

    $('.b-l').hover(function () {
        $('.left').animate({
            left: 10,

        }, 500)
        $('.shadow').css('display', 'block')
        $('.shadow').css(' opacity', '1')
    }, function () {
        $('.left').animate({
            left: -150,
        }, 500)
        $('.shadow').css('display', 'none')
        $(this).css(' opacity', '0')
    })
    $('.b-r').hover(function () {
        $('.right').animate({
            left: 0
        }, 500)
        $('.shadow2').css('display', 'block')
        $('.shadow2').css(' opacity', '1')
    }, function () {
        $('.right').animate({
            left: -150
        }, 500)
        $('.shadow2').css('display', 'none')
        $(this).css(' opacity', '0')
    })

</script>